%call the julian day function to get date and time into a julian day that
%is 1.0 at 00hrs on Jan 1
jDay=julianday(2010,6,12,13,00,00)

%call the financial toolbox datestr function (won't work w/o tool box) to
%convert from my julian day number (created above) back to a date/time
%string.  Note that the date time string is a "string" type in matlab.
datestr(174.7265+datenum(2010, 1, 1, 0, 0, 0)-1)